drivers: spi: ti_qspi: do not hard code chip select for memory map configuration
authorMugunthan V N <[email protected]>
Wed, 23 Dec 2015 15:09:33 +0000 (20:39 +0530)
committerJagan Teki <[email protected]>
Wed, 13 Jan 2016 13:17:27 +0000 (18:47 +0530)
commitec712f490d9cd04257376d6cc6d52778b174c435
tree8676e826d482c01f7af1f1be8295b90ace8a93b8
parent2b11a41cefefd8d6236d5d4513ebb91058c545e2
drivers: spi: ti_qspi: do not hard code chip select for memory map configuration

To enable memory map in dra7xx, specific chip select must be
written to control module register. But this hard coded to chip
select 1, fixing it by writing the specific chip select value to
control module register.

Signed-off-by: Mugunthan V N <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
drivers/spi/ti_qspi.c